# set cross-compiled system type, it's better not use the type which cmake cannot recognized.
SET (CMAKE_SYSTEM_NAME Linux)
SET (CMAKE_SYSTEM_PROCESSOR arm)
# aarch64-linux-gnu-gcc DO NOT need to be installed, so make sure aarch64-linux-gnu-gcc and aarch64-linux-gnu-g++ can be found in $PATH:
SET(tools C:/gcc-linaro-6.5.0-2018.12-i686-mingw32_arm-linux-gnueabihf/bin)
#SET (CMAKE_C_COMPILER   ${tools}/arm-linux-gnueabihf-gcc.exe)
SET (CMAKE_CXX_COMPILER ${tools}/arm-linux-gnueabihf-g++.exe)
SET(CMAKE_FIND_ROOT_PATH C:/gcc-linaro-6.5.0-2018.12-i686-mingw32_arm-linux-gnueabihf/arm-linux-gnueabihf/libc)
